package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Collections;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICollectionsService {
    List<Collections> list();

    PageInfo<Collections> page(BaseRequest baseRequest);

    void save(Collections collections);

    Collections getById(Integer id);

    void update(Collections collections);

    void deleteById(Integer id);

}
